package com.etoak.controller;


import com.etoak.bean.*;
import com.etoak.service.HomestayService;
import com.etoak.service.RoomTypeService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@CrossOrigin
@RequestMapping("/roomType")
public class RoomTypeController {

    @Resource
    private RoomTypeService service;


    @GetMapping("/selectById")
    public ResultVo selectById(RoomTypeVO roomTypeVO){
        return  ResultVo.success().setData(service.selectById(roomTypeVO));
    }



}
